<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0" />
<title>酒店查询</title>
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="resources/My97DatePicker/WdatePicker.js"></script>

<link href="resources/css/hotellist.css" type="text/css" rel="stylesheet"/>

<style type="">
body{margin:8px;background:#E4E4E4;}
header{
	background:#39F;
	padding:10px 5px 20px 5px;
	color:#fff;
	font-size:14px;
	text-align:center;
	margin:-8px;
}
.meun{margin:-10px;}
.meun ul li{width:50%;}
#submit{    
	float: left;
    height: 35px;
    padding: 0;
    width: 100%;
    cursor: pointer;
    font: bold 16px Arial, Helvetica;
    color: #8f5a0a;
	margin-top:8px;
	}
</style>
<script type="text/javascript">

$(document).ready(function(){
	$('#submit').click(function() { 
		
		alert($("#cityid").val());
		if($("#cityid").val()=="")
			{
			$("#cityid").val("shanghai_0210");
			
			}
		alert($("#cityid").val());
		//alert("shortCleanGrade:"+$("#shortCleanGrade").val()+"--"+document.getElementById("stars1-input").value);
		//if(comfirm("确定取消订单！"))
		//{
			$('#checkform').submit();
		//}
		
			
		});//end #resvBtn click
	});
</script>
</head>

<body>
<form id="checkform" action="gohotellist.html">
	<header>您好，王萍！预订享受92折，每单再减10元！</header>
<fieldset class="bg4">
    <article><img src="resources/img/logo.png" alt="" /></article>
</fieldset>
<fieldset class="bg5">  
    <nav class="meun">
    	<ul>
    	
        	<li id="a" class="color01"><dd>酒店预订</dd></li>
        	<li id="b" class="next"><dd>订单查询</dd></li>
        </ul>
    </nav>
    <div class="text_01">
    <input type="hidden" id="cityid" name="cityid" value="${cityid }"  >
<label>入住城市：</label><input type="text"  value="${cityNm }"  placeholder="上海" onclick="location.href='goCitylist.html'" autofocus required />
    </div>
    <div class="datestartdiv">
    	<div class="datefont size12 color06">入住日期</div>
        <div class="datestart">
        	<dd class="color03 size18"><input class="Wdate" id="ArrDate" name="ArrDate" type="text" onClick="WdatePicker()" readonly></dd><dd>今天&nbsp;周六</dd>
    	</div>
    </div>
    <div class="datemargin datestartdiv">
    	<div class="datefont size12 color06">离店日期</div>
        <div class="datestart">
        	<dd class="color03 size18"><input class="Wdate" id="DepDate" name="DepDate" type="text" onClick="WdatePicker()" readonly ></dd><dd>明天&nbsp;周日</dd>
    	</div>
    </div>
    <div class="text_01">
<label>行政区/商圈：</label><input type="text" value="无"  placeholder="无" required />
    </div>
</fieldset>
<input type="submit" id="submit" value="查询" > &nbsp;
</form>
</body>
</html>
